Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.localconf.theme--layouts

This contribution is part of XML component org.nuxeo.ecm.localconf.theme inside nuxeo-localconf-web-7.10.jar /OSGI-INF/local-configuration-theme.xml

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="theme_configuration">
          <templates>
            <template mode="any">
              /layouts/layout_local_configuration_template.xhtml
            </template>
          </templates>
          <properties mode="any">
            <property name="layoutTemplateToInclude">
              /layouts/layout_default_template.xhtml
            </property>
            <property name="foldableBoxLabel">
              label.local.configuration.theme
            </property>
            <property name="localConfigurationFacet">
              ThemeLocalConfiguration
            </property>
            <property name="helpLabel">
              label.local.configuration.theme.info
            </property>
            <property name="elementsToReRender">
              local_configuration_panel
            </property>
          </properties>
          <rows>
            <row>
              <widget>flavor_selection</widget>
            </row>
          </rows>
          <widget name="flavor_selection" type="template">
            <labels>
              <label mode="any">
                label.local.configuration.theme.flavorSelection
              </label>
            </labels>
            <helpLabels>
              <label mode="any">
                label.local.configuration.theme.flavorSelection.help
              </label>
            </helpLabels>
            <translated>true</translated>
            <fields>
              <field>themeconf:flavor</field>
            </fields>
            <properties mode="any">
              <property name="template">
                /widgets/select_flavor_widget_template.xhtml
              </property>
            </properties>
          </widget>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="theme_configuration">
      <templates>
        <template mode="any">
          /layouts/layout_local_configuration_template.xhtml
        </template>
      </templates>
      <properties mode="any">
        <property name="layoutTemplateToInclude">
          /layouts/layout_default_template.xhtml
        </property>
        <property name="foldableBoxLabel">
          label.local.configuration.theme
        </property>
        <property name="localConfigurationFacet">
          ThemeLocalConfiguration
        </property>
        <property name="helpLabel">
          label.local.configuration.theme.info
        </property>
        <property name="elementsToReRender">
          local_configuration_panel
        </property>
      </properties>
      <rows>
        <row>
          <widget>flavor_selection</widget>
        </row>
      </rows>
      <widget name="flavor_selection" type="template">
        <labels>
          <label mode="any">
            label.local.configuration.theme.flavorSelection
          </label>
        </labels>
        <helpLabels>
          <label mode="any">
            label.local.configuration.theme.flavorSelection.help
          </label>
        </helpLabels>
        <translated>true</translated>
        <fields>
          <field>themeconf:flavor</field>
        </fields>
        <properties mode="any">
          <property name="template">
            /widgets/select_flavor_widget_template.xhtml
          </property>
        </properties>
      </widget>
    </layout>

  </extension>